<script setup>
import {ref} from "vue";

const name = ref("test name");
const setName = () => {
  name.value = 'test new name'
}
defineExpose({name, setName});
</script>

<template>
test
</template>

<style scoped>

</style>